package main

import (
	"fmt"
	"math"
)

func main()  {
	num := 0
	for i := 101; i < 200; i++ {
		if(is_prime(i)){
			num ++
			fmt.Println(i)
		}
	}
	fmt.Println("一共",num,"个素数")
}

func is_prime(num int) bool  {

	for i := 2; float64(i) <= math.Sqrt(float64(num)); i++ {
		if(num %i == 0){
			return false
		}
	}
	return  true
}

